
<h3><?php echo $firstname; ?>'s Profile</h3>

<div><b>Name:</b> <?php echo $firstname . " " . $lastname; ?></div><br/>
<div><b>Username:</b> <?php echo $username; ?></div><br/>
<div><b>Email:</b> <?php echo $email; ?></div><br/>

<h3>Shared Trips</h3>

<?php 
	for($i=0;$i<count($triplist); $i++){	 
		echo '<div>' . $triplist[$i]['triplink'];
		echo '<div>Ending on: ' . $triplist[$i]['tripdate'] . '</div>' . br();
	}
?>





